﻿<UserControl x:Class="BaMusaSoft.RPS.View.SyncView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" FlowDirection="RightToLeft">
    <DockPanel>
        <StackPanel Orientation="Horizontal" DockPanel.Dock="Top">
            <Button Content="Sync" Command="{Binding SyncCommand}" Margin="3" Height="40" Width="70" />
            <Button Content="Save" Command="{Binding SaveCommand}"  Margin="3" Height="40" Width="70"/>
        </StackPanel>
        <StackPanel DockPanel.Dock="Bottom" Margin="5,20,5,5">
            <ProgressBar Value="{Binding Path=SyncProgress}" MinHeight="40" Visibility="{Binding CurrentSyncVisibilty}"/>
            <TextBlock Text="{Binding CurrentSync}" Visibility="{Binding CurrentSyncVisibilty}"/>
        </StackPanel>
       
    </DockPanel>
</UserControl>
